﻿@{
    ViewBag.Title = "酒店登录注册";
    Layout = "../Shared/_Login.cshtml";
}
@model RBS.Core.Model.Hotel.H_Hotel_Users

<script language="javascript">
    if (self.location != top.location) top.location = self.location;
</script>

@using (Html.BeginForm("SignOn", "Login", FormMethod.Post))
{
    
    <div class="hotelreg-form">
        <form action="/Login/Register" method="post">
            <fieldset>
                <dl>
                    <dt><b>*</b>手机号</dt>
                    <dd> 
                        <input type="text" id="H_UID" name="H_UID" class="input normal" placeholder="用户名" title="用户名" value="" />
                        <span class="Validform_checktip">将作为用户的登录名。</span>
                    </dd>
                </dl>
                <dl>
                    <dt><b>*</b>密码</dt>
                    <dd>
                        <input type="password" id="Password" name="Password" class="input normal" datatype="*6-20" errormsg="密码范围在6-20位之间" nullmsg="请设置密码" sucmsg=" " placeholder="密码" title="密码" value="" />

                        <span class="Validform_checktip">请输入登录密码。</span>
                    </dd>
                </dl>
                @*<dl>
                  <dt><b>*</b>角色</dt>
                    <dd>
                         <div class="rule-single-select"> 
                              @Html.DropDownList("roleType", 
                              new[] { new SelectListItem() { Text = "管理员", Value = "1" }, 
                                    /*  new SelectListItem() { Text = "部长", Value = "2" },
                                      new SelectListItem() { Text = "服务员", Value = "3" },*/
                                      new SelectListItem() { Text = "收银员", Value = "4" },
                                    /*  new SelectListItem() { Text = "厨师", Value = "5" },
                                      new SelectListItem() { Text = "传菜员", Value = "6" }  */
                                     }) 
                         </div>
                    </dd> 
                </dl>*@
            </fieldset>
            <div class="reg-submit"> 
                <p>
                      <span style="color:red">@ViewBag.msg</span>
                </p>
                <input type="submit" value="酒店登录" id="btnlogin" class="btn-login" />
                
            </div>
            <div class="reg-link">
                @Html.ActionLink("酒店注册", "Register") @Html.ActionLink("找回密码", "resetpassword")
            </div>
        </form>
    </div>


             
}

